package com.nervenets.web.controller.handler.admin.user;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.UserPagingParams;
import com.nervenets.web.enumeration.FlowStatus;
import com.nervenets.web.enumeration.OperateType;
import com.nervenets.web.enumeration.WealthType;
import com.nervenets.web.validation.Type;

/**
 * Created by Joe on 2018/1/24.
 */
public class UserFlowParams extends UserPagingParams {
    @NeedValidation(type = Type.NUMBER, description = "用户ID，不填的时候，会导出所有用户的流水")
    private long targetUserId;
    @NeedValidation(type = Type.EMPTY, description = "关键词，不填的时候不筛选")
    private String keyword;
    @NeedValidation(type = Type.EMPTY, description = "操作类型，不填的时候不筛选")
    private OperateType operateType;
    @NeedValidation(type = Type.EMPTY, description = "流水状态，不填的时候不筛选")
    private FlowStatus flowStatus;
    @NeedValidation(type = Type.EMPTY, description = "流水类型，不填的时候不筛选")
    private WealthType wealthType;

    public long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(long targetUserId) {
        this.targetUserId = targetUserId;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public OperateType getOperateType() {
        return operateType;
    }

    public void setOperateType(OperateType operateType) {
        this.operateType = operateType;
    }

    public FlowStatus getFlowStatus() {
        return flowStatus;
    }

    public void setFlowStatus(FlowStatus flowStatus) {
        this.flowStatus = flowStatus;
    }

    public WealthType getWealthType() {
        return wealthType;
    }

    public void setWealthType(WealthType wealthType) {
        this.wealthType = wealthType;
    }
}
